package com.douyu.data.up.service;

import com.douyu.data.common.Result;
import com.douyu.data.up.model.UpListModel;
import com.douyu.data.up.model.UpModel;
import org.springframework.boot.configurationprocessor.json.JSONException;
import org.springframework.stereotype.Service;

import java.io.IOException;
import java.util.List;


public interface UpService {
    Result<UpModel> getUpDetail(String id);

    Result<String> addUp(String id) throws IOException, JSONException;

    UpListModel getUpList(String id, String name, String levelFrom, String levelTo, String association, String online, String attentionFrom, String attentionTo, String vipNumberFrom, String vipNumberTo, String diamondFansFrom, String diamondFansTo, Integer pageSize, Integer pageNum);
}
